<script lang="ts">
    import { Breadcrumbs } from '$lib/layout';
    import { organization } from '$lib/stores/organization';
    import { project } from '../../store';
    import { user } from './store';

    $: breadcrumbs = [
        {
            href: `/console/organization-${$organization?.$id}`,
            title: $organization?.name
        },
        {
            href: `/console/project-${$project?.$id}`,
            title: $project?.name
        },
        {
            href: `/console/project-${$project?.$id}/auth`,
            title: 'Auth'
        },
        {
            href: `/console/project-${$project?.$id}/auth/user-${$user?.$id}`,
            title: $user?.name
        }
    ];
</script>

<Breadcrumbs {breadcrumbs} />
